#!/data/data/com.termux/files/usr/bin/bash

local_dir=/data/data/com.termux/files/home/sdcard/Android/data/nl.mpcjanssen.simpletask/files
cd ${local_dir}
diff ./.todo.txt.old ./todo.txt > ./.sync_diff.txt 2>&1
echo "======================" >> ./.sync_diff.txt 2>&1
diff ./.todo.txt.bak ./todo.txt >> ./.sync_diff.txt 2>&1
termux-dialog confirm -t "OUTPUT" -i "$(cat ./.sync_diff.txt)"
